//===================ajax请求=================================
						var str = "";
						var str_1 = "";
						var str_2 = "";
						var str_3 = "";
						var str_4 = "";
						var str_5 = "";
						var str_6 = "";
						var str_7 = "";
						var str_8 = "";
						var str_9 = "";
						var str_10 = "";
						$.ajax({
							type: "get",
							url: "../jstoday_game.json",
							data: {
								aid: "3c2c1673f45c4c7f9f7611006f998fe3",
								ps: "10",
								pn: 1
							},
							dataType: "json",
							beforeSend:function(){
								refresh();
							},
							complete:function(){
								$("#foo").css("display","none");
							},
							success: function(rsp) {
								
								//====获取农历月份
								str += '<a>'+rsp.list[0].lunar+'</a>';
								$(".big_date_2").html(str);
								//====获取年
								str_1 += '<a>'+rsp.list[0].lunarYear+'</a>';
								$(".small_date_1").html(str_1);
								 //====获取适宜
								 var string_1 = rsp.list[0].suit;
								 var arr = string_1.split(".")
								 for(var i=0;i<arr.length;i++){
								 	str_2 +='<li>'+arr[i]+'</li>';
								 }
								$(".table_1_1").html(str_2);
								//====获取禁忌
								 var string_2 = rsp.list[0].avoid;
								 var arr_2 = string_2.split(".")
								 for(var i=0;i<arr_2.length;i++){
								 	str_3 +='<li>'+arr_2[i]+'</li>';
								 }
								$(".table_2 ul").html(str_3);
								//====获取吉神
								str_4 += rsp.list[0].jishen;
								$(".left .top .left_2").html(str_4);
								
								//====获取凶神
								str_5 += rsp.list[0].xiongshen;
								$(".left .bottom .left_4").html(str_5);
								//====获取五行
								str_6 += rsp.list[0].wuxing;
								$(".right .top .left_2").html(str_6);
								//====获取五行
								str_7 += rsp.list[0].chongsha;
								$(".right .bottom .left_4").html(str_7);
								//====获取生肖
								str_8 += rsp.list[0].animalsYear;
								$(".small_date_2 a").html(str_8);

								//====获取准确日期
								str_9 += rsp.list[0].date;
								$(".small_date_3 a").html(str_9);
								//====获取彭祖
								for(var j = 0; j<rsp.list[0].baiji.length;j++){
									 
								}
								str_10 += rsp.list[0].baiji;
								$(".center_top_2 p").html(str_10);
								
								
								}
								
						});
						
//刷新加载
function refresh(){

		  var opts = {
		  lines: 10, // 个数
		  length: 13, // 长度
		  width: 8, // 宽度
		  radius:12, // 圆周
		  corners: 1, // Corner roundness (0..1)
		  rotate: 0, // The rotation offset
		  direction: 1, // 1: clockwise, -1: counterclockwise
		  color: '#000', // #rgb or #rrggbb or array of colors
		  speed: 1, // Rounds per second
		  trail: 60, // Afterglow percentage
		  shadow: false, // Whether to render a shadow
		  hwaccel: false, // Whether to use hardware acceleration
		  className: 'spinner', // The CSS class to assign to the spinner
		  zIndex: 2e9, // The z-index (defaults to 2000000000)
		  top: 'auto', // Top position relative to parent in px
		  left: 'auto' // Left position relative to parent in px
		};
		var target = document.getElementById('foo');
		var spinner = new Spinner(opts).spin(target);  
}


